* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 0.5rem;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.15;
  background-image: linear-gradient(100deg, #2e80a0, #f0fdbd);
}
/* body背景渐变 渐变方向 100deg 字体12px */
.viewport {
  max-width: 1920px;
  min-width: 1024px;
  display: flex;
  /* 左侧表单项全部圆角 边框 1px ，不得有边框重叠*/
  /* 右侧图表区，固定宽度；左侧自适应 */
}
.viewport .menu {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.viewport .menu .form {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #44444a;
  height: 80px;
}
.viewport .menu .form input {
  width: 150px;
  height: 30px;
  border-radius: 2px;
  outline: none;
  border: 2px solid #237b9e;
  margin: 0 5px;
  text-indent: 10px;
}
.viewport .menu .form button {
  width: 80px;
  height: 30px;
  color: #fff;
  background-color: #237b9e;
  font-size: 12px;
  vertical-align: bottom;
  border: 0;
  outline: none;
  border-radius: 5px;
}
.viewport .menu .tab {
  display: flex;
  justify-content: center;
  align-items: center;
}
.viewport .menu .tab table {
  border-radius: 5px;
  border: 1px solid #98c0bd;
  font-size: 18px;
  border-spacing: 0;
}
.viewport .menu .tab table thead > tr {
  font-weight: 700;
  background-image: linear-gradient(100deg, #f0fdbd, #2e80a0);
}
.viewport .menu .tab table thead > tr th {
  width: 220px;
  height: 30px;
  border-right: 1px solid #98c0bd;
  border-bottom: 1px solid #98c0bd;
}
.viewport .menu .tab table thead > tr th:first-child {
  border-radius: 5px 0 0 0;
}
.viewport .menu .tab table thead > tr th:last-child {
  border-radius: 0 5px 0 0;
}
.viewport .menu .tab table tbody > tr:last-child {
  border-bottom: 0;
}
.viewport .menu .tab table tbody > tr td {
  width: 220px;
  height: 30px;
  text-align: center;
  color: #000;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid #98c0bd;
  border-bottom: 1px solid #98c0bd;
}
.viewport .menu .tab table tbody > tr td:first-child {
  border-radius: 0 0 0 5px;
}
.viewport .menu .tab table tbody > tr td:last-child {
  border-radius: 0 0 5px 0;
}
.viewport .chart {
  width: 520px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.viewport .chart .chart1 {
  background-color: rgba(182, 120, 120, 0.1);
  height: 285px;
}
.viewport .chart .chart2 {
  background-color: rgba(0, 0, 0, 0.1);
  height: 285px;
}
